﻿using System;
using System.ComponentModel;

namespace Marmat.Forms
{
    public partial class EditControl
    {

        /// <summary>
        /// 控件的Value属性发生变化后执行
        /// </summary>
        /// <remarks></remarks>
        [Browsable(true)]
        [Category("编辑")]
        [Description("控件的Value属性发生变化时执行。")]
        public event EventHandler<ChangingEventArgs> ValueChanging;

        /// <summary>
        /// 控件的Value属性发生变化后执行
        /// </summary>
        /// <remarks></remarks>
        [Browsable(true)]
        [Category("编辑")]
        [Description("控件的Value属性发生变化后执行。")]
        public event EventHandler ValueChanged;
        [Browsable(true)]
        [Category("杂项")]
        [Description("控件在显示文本时执行。")]
        public event EventHandler<CustomDisplayTextEventArgs> CustomDisplayText;
    }
}